<?php
// application/lib/Admin/ActionAbstract.php
/**
 * demo-zf application
 *
 * lib\Lib_Admin_ActionAbstract
 *
 * Put here code for admin module
 *
 * @author Adam Pilacki <adam.pilacki@gmail.com>
 */
abstract class Lib_Admin_ActionAbstract
    extends Lib_ActionAbstract
{
    public function init()
    {
        parent::init();

        /**
         * put specific init admin module code here
         */
    }

    protected final function _initView()
    {
        $this->_bootstrap->bootstrapView();
        $this->view->lang = $this->_sessionNamespace->lang;
        $this->view->headMeta()
            ->appendHttpEquiv('Content-Language', str_replace('_', '-', str_replace('_', '-', $this->_sessionNamespace->lang)))
            ->appendName('keywords', '')
            ->appendName('description', '');
    }
}